package entity;

import java.util.Date;

public class LabReservation {
    private int reservationId;
    private int labId;
    private int userId;
    private Date startTime;
    private Date endTime;
    private String purpose;
    private Date createTime;

    public LabReservation() {}
    public LabReservation(int reservationId, int labId, int userId, Date startTime, Date endTime, String purpose, Date createTime) {
        this.reservationId = reservationId;
        this.labId = labId;
        this.userId = userId;
        this.startTime = startTime;
        this.endTime = endTime;
        this.purpose = purpose;
        this.createTime = createTime;
    }

    // Getter和Setter
    public int getReservationId() { return reservationId; }
    public void setReservationId(int reservationId) { this.reservationId = reservationId; }
    public int getLabId() { return labId; }
    public void setLabId(int labId) { this.labId = labId; }
    public int getUserId() { return userId; }
    public void setUserId(int userId) { this.userId = userId; }
    public Date getStartTime() { return startTime; }
    public void setStartTime(Date startTime) { this.startTime = startTime; }
    public Date getEndTime() { return endTime; }
    public void setEndTime(Date endTime) { this.endTime = endTime; }
    public String getPurpose() { return purpose; }
    public void setPurpose(String purpose) { this.purpose = purpose; }
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
}
